﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        <div id="admin">
			<p class="tar">上午好,<strong><%= Page.User.Identity.Name %></strong><a href="/Home/LogOff" class="c_a_a c_m_a" title="退出">退出</a></p>
			<p class="c_a_z">今天是<%= DateTime.Now.ToString("yyyy年MM月dd日 dddd") %></p>
		</div>
<%
    }
    else {
%> 
        [ <%= Html.ActionLink("登录", "LogOn", "Account") %> ]
<%
    }
%>
